﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lincolnwood.Foundation.Scheduling
{
    public class InstanceModification : PatternDeviation
    {
        
        private string _name;
        private string _description;
        private DateTime _startTime;
        private DateTime _endTime;


        protected InstanceModification()
        {

        }

        public InstanceModification(DateTime originalDate, string name, string description, DateTime startTime, DateTime endTime)         : base(originalDate)   
        {            
            _name = name;
            _description = description;
            _startTime = startTime;
            _endTime = endTime;
        }

        public string Name
        {
            get { return this._name; }
            set { this._name = value; }
        }

        public DateTime StartTime
        {
            get
            {
                return this._startTime;
            }
            set
            {
                this._startTime = value;
            }
        }

        public DateTime EndTime
        {
            get
            {
                return this._endTime;
            }
            set
            {
                this._endTime = value;
            }
        }

        public string Description
        {
            get
            {
                return this._description;
            }
            set
            {
                this._description = value;
            }
        }
    }
}
